import 'package:wanxiang_app/generated/json/base/json_field.dart';
import 'package:wanxiang_app/generated/json/group_list_entity.g.dart';
import 'dart:convert';
export 'package:wanxiang_app/generated/json/group_list_entity.g.dart';

@JsonSerializable()
class GroupListEntity {
	 String name='';
	 String photo='';
	 String account='';
	 String lastmsg='';
	 String time='';
	 int time2=0;
	 String sessionId="";
	 int unread=0;
	GroupListEntity();

	factory GroupListEntity.fromJson(Map<String, dynamic> json) => $GroupListEntityFromJson(json);

	Map<String, dynamic> toJson() => $GroupListEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}